﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" href="/css/redmond/common.css" type="text/css" media="all" />
    <link rel="stylesheet" href="/css/redmond/jquery-ui-1.8.18.custom.css" type="text/css"
        media="all" />

    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>

    <script type="text/javascript" src="/scripts/jquery-ui-1.8.18.custom.min.js"></script>

    <script type="text/javascript" src="/scripts/common.js"></script>

</head>
<body style="font-size: 9pt;">
    <table style="border-collapse: collapse; background-color: #d0e5f5;">
        <tr align="left" level="0">
            <td>
                概念 6
            </td>
            <td style="background-color: White;">
                <input style="width: 100px;">
            </td>
            <td>
                答对题数
            </td>
            <td style="background-color: White;">
                <input style="width: 100px;">
            </td>
        </tr>
        <tr align="left" level="0">
            <td>
                概念 6
            </td>
            <td style="background-color: White;">
                <input style="width: 100px;">
            </td>
            <td>
                答对题数
            </td>
            <td style="background-color: White;">
                <input style="width: 100px;">
            </td>
        </tr>
    </table>
    <div style="display: none;">
        <button name="ExpandButton" style="font-size: 0pt;" id="ExpandButtonTemplate">
            <span class="ui-icon ui-icon-minusthick"></span>
        </button>
    </div>

    <script language="javascript">
        $(function event() {
            //Init
            $("button").button();
            $("#Update").click(function() {
                var $ele = $("input:radio[name='R1']:checked");
                if ($ele.length == 0) {
                    Alert("请选择要操作的节点！");
                    return;
                }
                var name = prompt("请输入新结点的名称！", "");
                if (name == null)
                    return;
                if ($.trim(name) == "") {
                    Alert("结点的新名称为空！");
                    return;
                }
                var $tr = $ele.parents("tr:first");
                var $td = $tr.find("td:nth-child(2)");
                $td.find("span[name='NameSpan']").text($.trim(name));
            });
        });
    </script>

</body>
</html>
